import { EChartsPiePluginProps } from 'type/pie'
import ChartPlugin from 'core/chart/chart-plugin'
import defaultProps from './default-props'

class EChartsPiePlugin extends ChartPlugin {
  constructor(props?: EChartsPiePluginProps) {
    super({ ...defaultProps, ...(props ?? {}) })
  }
}

export default EChartsPiePlugin
